//
//  BusinessActivityModel.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/4.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class BusinessActivityModel: NSObject {
    var article_cover = "-999"
    var end_time = "-999"
    var article_title = "-999"
    var article_url = "-999"
    var start_time = "-999"
    var article_id = "-999"
    var article_desc = "-999"
    var article_view = "-999"
    
    var phoneNumber :String?
    
    var like :String?
    
    var range : NSRange?
    
    var isDark = true
    
    init(dic : [String : AnyObject]) {
        super.init()
        
        setValuesForKeys(dic)
        
    }
    
    
       
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
        
    }
    
    
    //在swift中想要打印对象要以下重写属性
    override var description: String{
        let keys = ["article_cover","end_time","article_title","article_url","start_time","article_id","article_desc","article_view"]
        let dic = dictionaryWithValues(forKeys: keys)
        return "\(dic)"
    }

}
